package org.wabson.alfresco.translations;

import java.util.Set;
import java.util.regex.Pattern;

public interface BundleLoader
{
    public final static Pattern PROPERTIES_FILE_PATTERN = Pattern
    .compile("[a-zA-Z0-9-.]*.properties");

    public abstract boolean exists(String filePath);

    public abstract MessageBundle load(String filePath) throws BundleLoadingException;

    public abstract Set<String> findBundleFiles();
    
    public String getFileName();
    
    public int getNumFiles();
    
    public Set<String> getFiles();

}